package com.situ.day5;

public class Number {
    private int num1;
    private int num2;

    public Number() {
    }

    public Number(int num1, int num2) {
        this.num1 = num1;
        this.num2 = num2;
    }

    public void show() {
        System.out.println("Number.show");
    }

    public int add() {
        return num1 + num2;
    }

    public int sub() {
        return num1 - num2;
    }

    public void div() {
        int result = num1 / num2;
        System.out.println(result);
    }

}
